home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 6 / QRZ Ham Radio Callsign Database - Volume 6.iso / pc / files / mac / tech_hc.hqx / Technician Ham Test 5.0 SA / background_19429.xml < prev    next >
Encoding:
Extensible Markup Language  |  1995-07-30  |  18.5 KB  |  549 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>19429</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_98208.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_6393.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>16</left>
  23.             <top>70</top>
  24.             <right>500</right>
  25.             <bottom>138</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Geneva</font>
  37.         <textSize>10</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>13</textHeight>
  40.         <name>Q1</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>11</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <true /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <false /> </lockText>
  53.         <rect>
  54.             <left>48</left>
  55.             <top>137</top>
  56.             <right>499</right>
  57.             <bottom>177</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>left</textAlign>
  68.         <font>Geneva</font>
  69.         <textSize>10</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>13</textHeight>
  72.         <name>A</name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>25</id>
  77.         <type>button</type>
  78.         <visible> <true /> </visible>
  79.         <reserved5> 0 </reserved5>
  80.         <reserved4> 0 </reserved4>
  81.         <reserved3> 0 </reserved3>
  82.         <reserved2> 0 </reserved2>
  83.         <reserved1> 0 </reserved1>
  84.         <enabled> <true /> </enabled>
  85.         <rect>
  86.             <left>204</left>
  87.             <top>313</top>
  88.             <right>241</right>
  89.             <bottom>342</bottom>
  90.         </rect>
  91.         <style>transparent</style>
  92.         <showName> <false /> </showName>
  93.         <highlight> <false /> </highlight>
  94.         <autoHighlight> <false /> </autoHighlight>
  95.         <sharedHighlight> <true /> </sharedHighlight>
  96.         <family>0</family>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>902</icon>
  99.         <textAlign>center</textAlign>
  100.         <font>Chicago</font>
  101.         <textSize>12</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <name>Prev</name>
  104.         <script>on mouseUp
  105. -- ΓÇóΓÇóΓÇóComment out last command & uncomment next to last for sequential
  106. -- cards.  Comment out next to last and uncomment last command for
  107. -- random cards from buildList (in background of first card of stack).
  108. global immediate, group, questans, refhide
  109. if item group of questans is not empty then
  110. if immediate then reView
  111. end if
  112. if refhide is false then
  113. put true into refhide
  114. hide field ReferenceField
  115. end if
  116. visual effect wipe right fast to black
  117. visual effect wipe left
  118. go to previous card  -- ΓÇóΓÇóΓÇó for sequential cards
  119. -- randomPrev -- ΓÇóΓÇóΓÇó for randomly-generated cards from buildList
  120. end mouseUp</script>
  121.     </part>
  122.     <part>
  123.         <id>26</id>
  124.         <type>button</type>
  125.         <visible> <true /> </visible>
  126.         <reserved5> 0 </reserved5>
  127.         <reserved4> 0 </reserved4>
  128.         <reserved3> 0 </reserved3>
  129.         <reserved2> 0 </reserved2>
  130.         <reserved1> 0 </reserved1>
  131.         <enabled> <true /> </enabled>
  132.         <rect>
  133.             <left>297</left>
  134.             <top>313</top>
  135.             <right>333</right>
  136.             <bottom>342</bottom>
  137.         </rect>
  138.         <style>transparent</style>
  139.         <showName> <false /> </showName>
  140.         <highlight> <false /> </highlight>
  141.         <autoHighlight> <false /> </autoHighlight>
  142.         <sharedHighlight> <true /> </sharedHighlight>
  143.         <family>0</family>
  144.         <titleWidth>0</titleWidth>
  145.         <icon>26425</icon>
  146.         <textAlign>center</textAlign>
  147.         <font>Chicago</font>
  148.         <textSize>12</textSize>
  149.         <textStyle>plain</textStyle>
  150.         <name>Next</name>
  151.         <script>on mouseUp
  152. -- ΓÇóΓÇóΓÇóComment out last command & uncomment next to last for sequential
  153. -- cards.  Comment out next to last and uncomment last command for
  154. -- random cards from buildList (in background of first card of stack).
  155. global immediate, group, questans, refhide
  156. if item group of questans is not empty then
  157. if immediate then reView
  158. end if
  159. if refhide is false then
  160. put true into refhide
  161. hide field ReferenceField
  162. end if
  163. visual effect wipe left fast to black
  164. visual effect wipe right fast
  165. go to next card -- ΓÇóΓÇóΓÇó for sequential cards
  166. -- randomNext -- ΓÇóΓÇóΓÇó for randomly-generated cards from buildList
  167. end mouseUp
  168. </script>
  169.     </part>
  170.     <part>
  171.         <id>27</id>
  172.         <type>field</type>
  173.         <visible> <true /> </visible>
  174.         <dontWrap> <false /> </dontWrap>
  175.         <dontSearch> <false /> </dontSearch>
  176.         <sharedText> <false /> </sharedText>
  177.         <fixedLineHeight> <true /> </fixedLineHeight>
  178.         <autoTab> <false /> </autoTab>
  179.         <lockText> <false /> </lockText>
  180.         <rect>
  181.             <left>48</left>
  182.             <top>178</top>
  183.             <right>508</right>
  184.             <bottom>219</bottom>
  185.         </rect>
  186.         <style>transparent</style>
  187.         <autoSelect> <false /> </autoSelect>
  188.         <showLines> <false /> </showLines>
  189.         <wideMargins> <false /> </wideMargins>
  190.         <multipleLines> <false /> </multipleLines>
  191.         <reservedFamily> 0 </reservedFamily>
  192.         <titleWidth>0</titleWidth>
  193.         <icon>0</icon>
  194.         <textAlign>left</textAlign>
  195.         <font>Geneva</font>
  196.         <textSize>10</textSize>
  197.         <textStyle>plain</textStyle>
  198.         <textHeight>13</textHeight>
  199.         <name>B</name>
  200.         <script></script>
  201.     </part>
  202.     <part>
  203.         <id>28</id>
  204.         <type>field</type>
  205.         <visible> <true /> </visible>
  206.         <dontWrap> <false /> </dontWrap>
  207.         <dontSearch> <false /> </dontSearch>
  208.         <sharedText> <false /> </sharedText>
  209.         <fixedLineHeight> <true /> </fixedLineHeight>
  210.         <autoTab> <false /> </autoTab>
  211.         <lockText> <false /> </lockText>
  212.         <rect>
  213.             <left>48</left>
  214.             <top>221</top>
  215.             <right>508</right>
  216.             <bottom>262</bottom>
  217.         </rect>
  218.         <style>transparent</style>
  219.         <autoSelect> <false /> </autoSelect>
  220.         <showLines> <false /> </showLines>
  221.         <wideMargins> <false /> </wideMargins>
  222.         <multipleLines> <false /> </multipleLines>
  223.         <reservedFamily> 0 </reservedFamily>
  224.         <titleWidth>0</titleWidth>
  225.         <icon>0</icon>
  226.         <textAlign>left</textAlign>
  227.         <font>Geneva</font>
  228.         <textSize>10</textSize>
  229.         <textStyle>plain</textStyle>
  230.         <textHeight>13</textHeight>
  231.         <name>C</name>
  232.         <script></script>
  233.     </part>
  234.     <part>
  235.         <id>29</id>
  236.         <type>field</type>
  237.         <visible> <true /> </visible>
  238.         <dontWrap> <false /> </dontWrap>
  239.         <dontSearch> <false /> </dontSearch>
  240.         <sharedText> <false /> </sharedText>
  241.         <fixedLineHeight> <true /> </fixedLineHeight>
  242.         <autoTab> <false /> </autoTab>
  243.         <lockText> <false /> </lockText>
  244.         <rect>
  245.             <left>47</left>
  246.             <top>264</top>
  247.             <right>502</right>
  248.             <bottom>306</bottom>
  249.         </rect>
  250.         <style>transparent</style>
  251.         <autoSelect> <false /> </autoSelect>
  252.         <showLines> <false /> </showLines>
  253.         <wideMargins> <false /> </wideMargins>
  254.         <multipleLines> <false /> </multipleLines>
  255.         <reservedFamily> 0 </reservedFamily>
  256.         <titleWidth>0</titleWidth>
  257.         <icon>0</icon>
  258.         <textAlign>left</textAlign>
  259.         <font>Geneva</font>
  260.         <textSize>10</textSize>
  261.         <textStyle>plain</textStyle>
  262.         <textHeight>13</textHeight>
  263.         <name>D</name>
  264.         <script></script>
  265.     </part>
  266.     <part>
  267.         <id>20</id>
  268.         <type>field</type>
  269.         <visible> <true /> </visible>
  270.         <dontWrap> <false /> </dontWrap>
  271.         <dontSearch> <false /> </dontSearch>
  272.         <sharedText> <false /> </sharedText>
  273.         <fixedLineHeight> <true /> </fixedLineHeight>
  274.         <autoTab> <false /> </autoTab>
  275.         <lockText> <true /> </lockText>
  276.         <rect>
  277.             <left>15</left>
  278.             <top>31</top>
  279.             <right>166</right>
  280.             <bottom>53</bottom>
  281.         </rect>
  282.         <style>shadow</style>
  283.         <autoSelect> <false /> </autoSelect>
  284.         <showLines> <false /> </showLines>
  285.         <wideMargins> <false /> </wideMargins>
  286.         <multipleLines> <false /> </multipleLines>
  287.         <reservedFamily> 0 </reservedFamily>
  288.         <titleWidth>0</titleWidth>
  289.         <icon>0</icon>
  290.         <textAlign>left</textAlign>
  291.         <font>Chicago</font>
  292.         <textSize>12</textSize>
  293.         <textStyle>plain</textStyle>
  294.         <textHeight>16</textHeight>
  295.         <name>Q#</name>
  296.         <script>
  297. </script>
  298.     </part>
  299.     <part>
  300.         <id>36</id>
  301.         <type>button</type>
  302.         <visible> <true /> </visible>
  303.         <reserved5> 0 </reserved5>
  304.         <reserved4> 0 </reserved4>
  305.         <reserved3> 0 </reserved3>
  306.         <reserved2> 0 </reserved2>
  307.         <reserved1> 0 </reserved1>
  308.         <enabled> <true /> </enabled>
  309.         <rect>
  310.             <left>368</left>
  311.             <top>305</top>
  312.             <right>406</right>
  313.             <bottom>342</bottom>
  314.         </rect>
  315.         <style>transparent</style>
  316.         <showName> <false /> </showName>
  317.         <highlight> <false /> </highlight>
  318.         <autoHighlight> <false /> </autoHighlight>
  319.         <sharedHighlight> <true /> </sharedHighlight>
  320.         <family>0</family>
  321.         <titleWidth>0</titleWidth>
  322.         <icon>21700</icon>
  323.         <textAlign>center</textAlign>
  324.         <font>Chicago</font>
  325.         <textSize>12</textSize>
  326.         <textStyle>plain</textStyle>
  327.         <name>Home</name>
  328.         <script>on mouseUp
  329. visual effect iris close
  330. go home
  331. end mouseUp
  332.  
  333. </script>
  334.     </part>
  335.     <part>
  336.         <id>38</id>
  337.         <type>button</type>
  338.         <visible> <false /> </visible>
  339.         <reserved5> 0 </reserved5>
  340.         <reserved4> 0 </reserved4>
  341.         <reserved3> 0 </reserved3>
  342.         <reserved2> 0 </reserved2>
  343.         <reserved1> 0 </reserved1>
  344.         <enabled> <true /> </enabled>
  345.         <rect>
  346.             <left>173</left>
  347.             <top>116</top>
  348.             <right>245</right>
  349.             <bottom>138</bottom>
  350.         </rect>
  351.         <style>rectangle</style>
  352.         <showName> <true /> </showName>
  353.         <highlight> <false /> </highlight>
  354.         <autoHighlight> <false /> </autoHighlight>
  355.         <sharedHighlight> <true /> </sharedHighlight>
  356.         <family>0</family>
  357.         <titleWidth>0</titleWidth>
  358.         <icon>0</icon>
  359.         <textAlign>center</textAlign>
  360.         <font>Chicago</font>
  361.         <textSize>12</textSize>
  362.         <textStyle>plain</textStyle>
  363.         <name>Correct!</name>
  364.         <script></script>
  365.     </part>
  366.     <part>
  367.         <id>39</id>
  368.         <type>button</type>
  369.         <visible> <true /> </visible>
  370.         <reserved5> 0 </reserved5>
  371.         <reserved4> 0 </reserved4>
  372.         <reserved3> 0 </reserved3>
  373.         <reserved2> 0 </reserved2>
  374.         <reserved1> 0 </reserved1>
  375.         <enabled> <true /> </enabled>
  376.         <rect>
  377.             <left>14</left>
  378.             <top>138</top>
  379.             <right>44</right>
  380.             <bottom>174</bottom>
  381.         </rect>
  382.         <style>checkbox</style>
  383.         <showName> <true /> </showName>
  384.         <highlight> <false /> </highlight>
  385.         <autoHighlight> <false /> </autoHighlight>
  386.         <sharedHighlight> <true /> </sharedHighlight>
  387.         <family>0</family>
  388.         <titleWidth>0</titleWidth>
  389.         <icon>0</icon>
  390.         <textAlign>center</textAlign>
  391.         <font>Chicago</font>
  392.         <textSize>12</textSize>
  393.         <textStyle>plain</textStyle>
  394.         <name>A</name>
  395.         <script>on mouseUp
  396. global questans, group
  397. set hilight of background button A to true
  398. set hilight of background button B to false
  399. set hilight of background button C to false
  400. set hilight of background button D to false
  401. put "A" into item group of questans
  402. end mouseUp
  403. </script>
  404.     </part>
  405.     <part>
  406.         <id>40</id>
  407.         <type>button</type>
  408.         <visible> <true /> </visible>
  409.         <reserved5> 0 </reserved5>
  410.         <reserved4> 0 </reserved4>
  411.         <reserved3> 0 </reserved3>
  412.         <reserved2> 0 </reserved2>
  413.         <reserved1> 0 </reserved1>
  414.         <enabled> <true /> </enabled>
  415.         <rect>
  416.             <left>14</left>
  417.             <top>178</top>
  418.             <right>44</right>
  419.             <bottom>214</bottom>
  420.         </rect>
  421.         <style>checkbox</style>
  422.         <showName> <true /> </showName>
  423.         <highlight> <false /> </highlight>
  424.         <autoHighlight> <false /> </autoHighlight>
  425.         <sharedHighlight> <true /> </sharedHighlight>
  426.         <family>0</family>
  427.         <titleWidth>0</titleWidth>
  428.         <icon>0</icon>
  429.         <textAlign>center</textAlign>
  430.         <font>Chicago</font>
  431.         <textSize>12</textSize>
  432.         <textStyle>plain</textStyle>
  433.         <name>B</name>
  434.         <script>on mouseUp
  435. global questans, group
  436. set hilight of background button A to false
  437. set hilight of background button B to true
  438. set hilight of background button C to false
  439. set hilight of background button D to false
  440. put "B" into item group of questans
  441. end mouseUp
  442. </script>
  443.     </part>
  444.     <part>
  445.         <id>41</id>
  446.         <type>button</type>
  447.         <visible> <true /> </visible>
  448.         <reserved5> 0 </reserved5>
  449.         <reserved4> 0 </reserved4>
  450.         <reserved3> 0 </reserved3>
  451.         <reserved2> 0 </reserved2>
  452.         <reserved1> 0 </reserved1>
  453.         <enabled> <true /> </enabled>
  454.         <rect>
  455.             <left>14</left>
  456.             <top>219</top>
  457.             <right>44</right>
  458.             <bottom>255</bottom>
  459.         </rect>
  460.         <style>checkbox</style>
  461.         <showName> <true /> </showName>
  462.         <highlight> <false /> </highlight>
  463.         <autoHighlight> <false /> </autoHighlight>
  464.         <sharedHighlight> <true /> </sharedHighlight>
  465.         <family>0</family>
  466.         <titleWidth>0</titleWidth>
  467.         <icon>0</icon>
  468.         <textAlign>center</textAlign>
  469.         <font>Chicago</font>
  470.         <textSize>12</textSize>
  471.         <textStyle>plain</textStyle>
  472.         <name>C</name>
  473.         <script>on mouseUp
  474. global questans, group
  475. set hilight of background button A to false
  476. set hilight of background button B to false
  477. set hilight of background button C to true
  478. set hilight of background button D to false
  479. put "C" into item group of questans
  480. end mouseUp
  481. </script>
  482.     </part>
  483.     <part>
  484.         <id>42</id>
  485.         <type>button</type>
  486.         <visible> <true /> </visible>
  487.         <reserved5> 0 </reserved5>
  488.         <reserved4> 0 </reserved4>
  489.         <reserved3> 0 </reserved3>
  490.         <reserved2> 0 </reserved2>
  491.         <reserved1> 0 </reserved1>
  492.         <enabled> <true /> </enabled>
  493.         <rect>
  494.             <left>14</left>
  495.             <top>264</top>
  496.             <right>44</right>
  497.             <bottom>300</bottom>
  498.         </rect>
  499.         <style>checkbox</style>
  500.         <showName> <true /> </showName>
  501.         <highlight> <false /> </highlight>
  502.         <autoHighlight> <false /> </autoHighlight>
  503.         <sharedHighlight> <true /> </sharedHighlight>
  504.         <family>0</family>
  505.         <titleWidth>0</titleWidth>
  506.         <icon>0</icon>
  507.         <textAlign>center</textAlign>
  508.         <font>Chicago</font>
  509.         <textSize>12</textSize>
  510.         <textStyle>plain</textStyle>
  511.         <name>D</name>
  512.         <script>on mouseUp
  513. global questans, group
  514. set hilight of background button A to false
  515. set hilight of background button B to false
  516. set hilight of background button C to false
  517. set hilight of background button D to true
  518. put "D" into item group of questans
  519. end mouseUp
  520. </script>
  521.     </part>
  522.     <part>
  523.         <id>43</id>
  524.         <type>field</type>
  525.         <visible> <false /> </visible>
  526.         <dontWrap> <false /> </dontWrap>
  527.         <dontSearch> <false /> </dontSearch>
  528.         <sharedText> <false /> </sharedText>
  529.         <fixedLineHeight> <true /> </fixedLineHeight>
  530.         <autoTab> <false /> </autoTab>
  531.         <lockText> <true /> </lockText>
  532.         <rect>
  533.             <left>339</left>
  534.             <top>119</top>
  535.             <right>498</right>
  536.             <bottom>137</bottom>
  537.         </rect>
  538.         <style>shadow</style>
  539.         <autoSelect> <false /> </autoSelect>
  540.         <showLines> <false /> </showLines>
  541.         <wideMargins> <false /> </wideMargins>
  542.         <multipleLines> <false /> </multipleLines>
  543.         <reservedFamily> 0 </reservedFamily>
  544.         <titleWidth>0</titleWidth>
  545.         <icon>0</icon>
  546.         <textAlign>left</textAlign>
  547.         <font>Geneva</font>
  548.         <textSize>12</textSize>
  549.         <textStyle>bold</textStyle>
  550.         <textHeight>16</textHeight>
  551.         <name>review</name>
  552.         <script></script>
  553.     </part>
  554.     <part>
  555.         <id>44</id>
  556.         <type>button</type>
  557.         <visible> <true /> </visible>
  558.         <reserved5> 0 </reserved5>
  559.         <reserved4> 0 </reserved4>
  560.         <reserved3> 0 </reserved3>
  561.         <reserved2> 0 </reserved2>
  562.         <reserved1> 0 </reserved1>
  563.         <enabled> <true /> </enabled>
  564.         <rect>
  565.             <left>460</left>
  566.             <top>24</top>
  567.             <right>503</right>
  568.             <bottom>62</bottom>
  569.         </rect>
  570.         <style>transparent</style>
  571.         <showName> <false /> </showName>
  572.         <highlight> <false /> </highlight>
  573.         <autoHighlight> <false /> </autoHighlight>
  574.         <sharedHighlight> <true /> </sharedHighlight>
  575.         <family>0</family>
  576.         <titleWidth>0</titleWidth>
  577.         <icon>12119</icon>
  578.         <textAlign>center</textAlign>
  579.         <font>Chicago</font>
  580.         <textSize>12</textSize>
  581.         <textStyle>plain</textStyle>
  582.         <name>Reference</name>
  583.         <script>on mouseUp
  584. global refhide
  585. if refhide is false then
  586. put true into refhide
  587. hide field ReferenceField
  588. else
  589. put false into refhide
  590. show field ReferenceField
  591. end if
  592.  
  593. end mouseUp
  594. </script>
  595.     </part>
  596.     <part>
  597.         <id>45</id>
  598.         <type>field</type>
  599.         <visible> <false /> </visible>
  600.         <dontWrap> <false /> </dontWrap>
  601.         <dontSearch> <false /> </dontSearch>
  602.         <sharedText> <false /> </sharedText>
  603.         <fixedLineHeight> <true /> </fixedLineHeight>
  604.         <autoTab> <false /> </autoTab>
  605.         <lockText> <false /> </lockText>
  606.         <rect>
  607.             <left>188</left>
  608.             <top>32</top>
  609.             <right>443</right>
  610.             <bottom>54</bottom>
  611.         </rect>
  612.         <style>shadow</style>
  613.         <autoSelect> <false /> </autoSelect>
  614.         <showLines> <false /> </showLines>
  615.         <wideMargins> <false /> </wideMargins>
  616.         <multipleLines> <false /> </multipleLines>
  617.         <reservedFamily> 0 </reservedFamily>
  618.         <titleWidth>0</titleWidth>
  619.         <icon>0</icon>
  620.         <textAlign>left</textAlign>
  621.         <font>Chicago</font>
  622.         <textSize>12</textSize>
  623.         <textStyle>plain</textStyle>
  624.         <textHeight>16</textHeight>
  625.         <name>ReferenceField</name>
  626.         <script></script>
  627.     </part>
  628.     <name>Test</name>
  629.     <script>On openCard
  630. global questans, questkey, rightone, group
  631. hide background button "Correct!"
  632. hide field review
  633. set hilight of background button A to false
  634. set hilight of background button B to false
  635. set hilight of background button C to false
  636. set hilight of background button D to false
  637. get the number of card
  638. -- ΓÇóΓÇóΓÇó choose question # or card # option
  639. -- put "Question #" & group into field "Q#" -- question # option
  640. put "Question #"&it-2 into field "Q#" -- card # option
  641. put rightone into item group of questkey
  642. put item group of questans into foo
  643. if foo is not empty then set hilight of background button foo to true
  644. end openCard
  645.  
  646. on closeCard
  647. set lockScreen to true
  648. set hilight of background button A to false
  649. set hilight of background button B to false
  650. set hilight of background button C to false
  651. set hilight of background button D to false
  652. set lockScreen to false
  653. hide background button "Correct!"
  654. end closeCard
  655.  
  656. on idle
  657. global time1
  658. -- comment out next line (exit idle) if you want a time limit on test.
  659. -- don't forget to set time limit as described in Exam button of
  660. -- first card.
  661. exit idle
  662. put the seconds into time2
  663. if time2<time1 then exit idle
  664. if time2ΓëÑtime1 then
  665. answer "Too much Time. Try again?" with "OK" or "Quit"
  666. end if
  667. if it is "OK" then
  668. visual effect dissolve to black
  669. visual effect iris open
  670. go first card
  671. openStack
  672. else
  673. visual effect dissolve
  674. go home
  675. end if
  676. end idle
  677.  
  678. on randomNext
  679. global group,questlist
  680. add one to group
  681. if group > the number of items of questlist then go card report
  682. get item group of questlist
  683. go card it
  684. end randomNext
  685.  
  686. on randomPrev
  687. global group,questlist
  688. subtract one from group
  689. if group < 1 then go first card
  690. get item group of questlist
  691. go card it
  692. end randomPrev
  693.  
  694. on reView
  695. global rightone, immediate
  696. put "Correct answer is " & rightone into field review
  697. if not immediate then
  698. wait 3 seconds
  699. show field review
  700. wait until the mouseClick
  701. else
  702. if hilite of background button rightone is false then
  703. show field review
  704. wait until the mouseClick
  705. else
  706. -- show background button "Correct!"
  707. end if
  708. end if
  709. end reView
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729. </script>
  730. </background>
  731.